-
Notifications
You must be signed in to change notification settings - Fork 555
Add unit tests #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+84
−982,743
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ycq091044
added a commit
that referenced
this pull request
Feb 24, 2023
…thub actions (#104) * Add repr class methods for InnerMap and CrossMap (#69) * add repr methods for medcode maps, getters for CrossMap dom/codom * fix: fuller repr & remove redundant getter * add back test stub * feat: Add eICU tests; make default params for Event * feat: EHR stat test class * update eicu unittest ROOT * use pandas.Timestamp instead of datetime * Create python-package.yml * Delete python-package.yml * feat: Github actions integration for test (#1) github actions + rename tests * Bdanek/test artifact (#2) * feat: Github actions integration for test * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * add root to path so we resolve to local pyhealth * feat: log pickled datasets * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * print path * print filepath * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * attempt to use dawidd6/action-download-artifact@v2 * remove recursive ls * re-trigger workflow * add workflow id and run id * cannot use branch with pr * validate artifact download * output whether local is used or no * cache validation * ls * display hidden dir as well * ls -al * debugging directories * deeper * even deeper * printing * better dir * restart * remove bad artifacts * use pr as artifact root * small change to test pr event trigger + artifact * feat: Add make artifact path * run tests if artifact download fails * conditional ls * restart * remove artifact handling * manual workflow * rename * Bdanek/base dataset test (#3) * feat: Add eICU tests; make default params for Event * feat: EHR stat test class * update eicu unittest ROOT * use pandas.Timestamp instead of datetime --------- Co-authored-by: ycq091044 <ycqsjtu@gmail.com> * add test_omop * data issues * add dataset_name and refresh_cache to prevent issue --------- Co-authored-by: Chaoqi Yang <ycqsjtu@gmail.com>
BPDanek
added a commit
that referenced
this pull request
Apr 22, 2023
…thub actions (#104) * Add repr class methods for InnerMap and CrossMap (#69) * add repr methods for medcode maps, getters for CrossMap dom/codom * fix: fuller repr & remove redundant getter * add back test stub * feat: Add eICU tests; make default params for Event * feat: EHR stat test class * update eicu unittest ROOT * use pandas.Timestamp instead of datetime * Create python-package.yml * Delete python-package.yml * feat: Github actions integration for test (#1) github actions + rename tests * Bdanek/test artifact (#2) * feat: Github actions integration for test * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * add root to path so we resolve to local pyhealth * feat: log pickled datasets * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * print path * print filepath * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * attempt to use dawidd6/action-download-artifact@v2 * remove recursive ls * re-trigger workflow * add workflow id and run id * cannot use branch with pr * validate artifact download * output whether local is used or no * cache validation * ls * display hidden dir as well * ls -al * debugging directories * deeper * even deeper * printing * better dir * restart * remove bad artifacts * use pr as artifact root * small change to test pr event trigger + artifact * feat: Add make artifact path * run tests if artifact download fails * conditional ls * restart * remove artifact handling * manual workflow * rename * Bdanek/base dataset test (#3) * feat: Add eICU tests; make default params for Event * feat: EHR stat test class * update eicu unittest ROOT * use pandas.Timestamp instead of datetime --------- Co-authored-by: ycq091044 <ycqsjtu@gmail.com> * add test_omop * data issues * add dataset_name and refresh_cache to prevent issue --------- Co-authored-by: Chaoqi Yang <ycqsjtu@gmail.com>
LaErre9
added a commit
to LaErre9/PyHealth
that referenced
this pull request
Nov 7, 2023
LaErre9
added a commit
to LaErre9/PyHealth
that referenced
this pull request
Nov 7, 2023
LaErre9
added a commit
to LaErre9/PyHealth
that referenced
this pull request
Nov 9, 2023
readability and maintainability sunlabuiuc#1
dalloliogm
pushed a commit
to dalloliogm/PyHealth
that referenced
this pull request
Nov 26, 2025
Add unit tests
dalloliogm
pushed a commit
to dalloliogm/PyHealth
that referenced
this pull request
Nov 26, 2025
Reorganize file structure
dalloliogm
pushed a commit
to dalloliogm/PyHealth
that referenced
this pull request
Nov 26, 2025
…thub actions (sunlabuiuc#104) * Add repr class methods for InnerMap and CrossMap (sunlabuiuc#69) * add repr methods for medcode maps, getters for CrossMap dom/codom * fix: fuller repr & remove redundant getter * add back test stub * feat: Add eICU tests; make default params for Event * feat: EHR stat test class * update eicu unittest ROOT * use pandas.Timestamp instead of datetime * Create python-package.yml * Delete python-package.yml * feat: Github actions integration for test (sunlabuiuc#1) github actions + rename tests * Bdanek/test artifact (sunlabuiuc#2) * feat: Github actions integration for test * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * add root to path so we resolve to local pyhealth * feat: log pickled datasets * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * print path * print filepath * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * Update run-unit-tests.yml * attempt to use dawidd6/action-download-artifact@v2 * remove recursive ls * re-trigger workflow * add workflow id and run id * cannot use branch with pr * validate artifact download * output whether local is used or no * cache validation * ls * display hidden dir as well * ls -al * debugging directories * deeper * even deeper * printing * better dir * restart * remove bad artifacts * use pr as artifact root * small change to test pr event trigger + artifact * feat: Add make artifact path * run tests if artifact download fails * conditional ls * restart * remove artifact handling * manual workflow * rename * Bdanek/base dataset test (sunlabuiuc#3) * feat: Add eICU tests; make default params for Event * feat: EHR stat test class * update eicu unittest ROOT * use pandas.Timestamp instead of datetime --------- Co-authored-by: ycq091044 <ycqsjtu@gmail.com> * add test_omop * data issues * add dataset_name and refresh_cache to prevent issue --------- Co-authored-by: Chaoqi Yang <ycqsjtu@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All Submissions Basics:
All Submissions Cores:
New Model Submissions: